﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MaoCaiJun.DataBase.Configuration.DbsAnalysis
{
    [System.Serializable]
    public class Class
    {
        [System.Xml.Serialization.XmlAttribute()]
        public string Name { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public string Summary { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public string Table { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public MaoCaiJun.DataBase.Sys.Data.ConnectionLocation ConnectionLocation { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public string ConnectionString { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public MaoCaiJun.DataBase.Sys.Data.SqlType Type { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public string TableNameInterface { get; set; }
        [System.Xml.Serialization.XmlAttribute()]
        public MaoCaiJun.DataBase.Sys.Data.FunctionType Function { get; set; }

        internal Namespace _namespace = null;
        public Namespace Namespace { get { return _namespace; } }

        private Property _id = new Property();
        public Property ID { get { return _id; } set { _id = value; } }

        private List<Property> _property = new List<Property>();
        //[System.Xml.Serialization.XmlArrayItem()]
        public List<Property> Property { get { return _property; } set { _property = value; } }

    }
}
